#ifndef RECOGNITIONTESTER_H
#define RECOGNITIONTESTER_H

#include "dispatcher/LaserListener.h"
#include "database/TrackBase.h"
#include "model/MappedRecognizer.impl.h"

#include <string>
#include <vector>

class RecognitionTester : public LaserListener {
private:
	MappedRecognizer<std::string> rec;
	std::string expr;
	std::vector<std::string> results;
public:
	RecognitionTester(std::string baseDir);
	void isInterval(const LaserEvent& e);
	void isTrack(const LaserEvent& e);
	const std::vector<std::string> getResults() const;
};

#endif
